package com.gxa.medical.service;

import com.gxa.medical.pojo.Activity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ActivityHTService {
    List<Map<String,Object>> selectAllByPage(Integer page, Integer size);
    List<Map<String,Object>>selectByLike(@Param("a_theme") String name, @Param("do_name") String host, @Param("a_regTime") String regTime, @Param("a_overTime") String overTime, @Param("a_isud") Integer isud, @Param("a_liveTime") String liveTime, @Param("page") Integer page, @Param("size") Integer size);
    List<Map<String,Object>>selectAllByim();
    Integer selectByDocName(String name);
    Integer insert(Activity activity);
    void insertAD(@Param("act_id") Integer act_id,@Param("doc_id") Integer doc_id);
    void delete(@Param("aid") Integer aid);
    void deleteAD(@Param("act_id") Integer act_id);
    Activity selectByAid(@Param("aid") Integer aid);
    List<Map<String,Object>> selectByUid(@Param("aid") Integer aid);
}
